<form id="form-signup" class="form-horizontal" action="<?=site_url('signup')?>" method="post">
	<fieldset>
		<legend>注册</legend>
		<div class="err-board"></div>
		<div class="control-group">
			<label class="control-label" for="name">用户名</label>
			<div class="controls">
				<input id="name" name="name" type="text" placeholder="用户名" />
				<span class="help-inline">由字母、数字、汉字、下划线(_)、连字符(-)组成，不少于2个字</span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="email">邮箱</label>
			<div class="controls">
				<input id="email" name="email" type="email" placeholder="邮箱" />
				<span class="help-inline">建议QQ邮箱、126邮箱、163邮箱</span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="gender">性别</label>
			<div class="controls">
				<select id="gender" name="gender">
					<option value="0">保密</option>
					<option value="1">男</option>
					<option value="2">女</option>
				</select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="passwd">密码</label>
			<div class="controls">
				<input id="passwd" name="passwd" type="password" placeholder="密码" />
				<span class="help-inline">至少6位，尽量用大小写、数字混合</span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="confirm">确认密码</label>
			<div class="controls">
				<input id="confirm" name="confirm" type="password" placeholder="确认密码" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">服务及隐私条款</label>
			<div class="controls">
				<label class="checkbox"><input type="checkbox" name="agree" value="1"> 同意以下协议</label>
				<div class="well well-small">
					<ol>
						<li>请勿发布色情、暴力、反政府的言论</li>
						<li><strong>邮箱</strong>只用作密码找回，不会用于其他用途</li>
						<li>如果邮箱里没有确认邮件，请查看是否在<strong>“垃圾箱”</strong>里</li>
						<li>网站上的言论不代表网站的观点、立场</li>
					</ol>
				</div>
			</div>
		</div>
		<div class="form-actions">
			<button type="submit" class="btn btn-primary" disabled="disabled">注册</button>
			<a class="btn btn-link" href="<?=site_url('signin.html')?>">已经有账号，直接去登录</a>
		</div>
	</fieldset>
</form>